Discrete time trajectory planner for lithography system

ABSTRACT

A lithography system and method for calculating an optimal discrete time trajectory for a movable device is described. A trajectory planner of the lithography system calculates an optimal discrete time trajectory subject to maximum velocity and maximum acceleration constraints. The trajectory planner begins by calculating a continuous time, three-segment trajectory for a reticle stage, a wafer stage or a framing blade, including a first phase for acceleration at the maximum acceleration to the maximum velocity, a second phase for travel at the maximum velocity and a third phase for deceleration at the negative maximum acceleration to a final velocity. Next, the trajectory planner converts continuous time, three-segment trajectory to a discrete time trajectory. The time of execution of the resulting trajectory is at most three quanta greater than the time of execution of the continuous time trajectory. One advantage of the system is the reduction of scanning times of a lithography system. This advantage increases throughput and reduces manufacturing costs for a lithography system.

CROSS-REFERENCE TO RELATED APPLICATIONS

This patent application is related to the following commonly-owned U.S. patent application Ser. No. 09/757,622, to Wiener, entitled “Method and System for Efficient and Accurate Filtering and Interpolation,” filed Jan. 11, 2001. The foregoing U.S. patent application is hereby incorporated by reference in it's entirety.

BACKGROUND OF THE INVENTION

1. Field of the Invention

This invention relates to trajectory planning. More specifically, this invention relates to trajectory planning for a lithography system.

2. Background Art

Many industrial processes involve motion along trajectories that are defined by precise positions at specific times. Photolithography is an example of such a process. In a photolithography process, an illumination source projects an illumination beam. The beam passes through, or is reflected off, a reticle to enable the transfer of a reticle image from the reticle to a substrate, such as a semiconductor wafer.

Scanning techniques are employed in photolithography processes to project a reticle image onto a substrate. These scanning techniques involve moving a reticle across an illumination slot to allow the reticle image to be exposed onto a substrate that is simultaneously moving. Reticles and substrates are disposed on stages that are capable of motion in one or more dimensions.

Long scanning times amount to greater manufacturing costs and less throughput. Therefore, it is desirable to reduce scanning times. In order to decrease the amount of time it takes to execute a trajectory, i.e, execution time, these systems aim to calculate optimal trajectories, i.e, trajectories requiring the least amount of time to execute. The calculation of an optimal continuous trajectory is well known in mathematics. However, a typical lithography system operates in discrete time, not continuous time. That is, a typical lithography system can only receive, process and react to commands in increments of time since the sampling rate of the command and control systems is limited. Further, a typical lithography system is restricted by maximum velocity and maximum acceleration constraints.

Accordingly, what is needed is a system and method for calculating optimal discrete time trajectories for a lithography system.

BRIEF SUMMARY OF THE INVENTION

The present invention relates to a lithography system and method for calculating an optimal discrete time trajectory.

In an embodiment of the present invention, a trajectory planner of the lithography system calculates an optimal discrete time trajectory subject to maximum velocity and maximum acceleration constraints. The trajectory planner begins by calculating a continuous time, three-segment trajectory for a movable device, including a first phase for acceleration at the maximum acceleration to the maximum velocity, a second phase for travel at the maximum velocity and a third phase for deceleration at the negative maximum acceleration to a final velocity. The movable device can be a wafer stage, a reticle stage or a framing blade. Next, the trajectory planner converts said continuous time, three-segment trajectory to a discrete time trajectory. The time of execution of the resulting trajectory is at most three quanta greater than the time of execution of said continuous time, three-segment trajectory.

The present invention reduces scanning times in a lithography system. This advantage increases throughput for a lithography system and reduces manufacturing costs.

Further features and advantages of the invention as well as the structure and operation of various embodiments of the present invention are described in detail below with reference to the accompanying drawings.

BRIEF DESCRIPTION OF THE FIGURES

The features and advantages of the present invention will become more apparent from the detailed description set forth below when taken in conjunction with the drawings in which like reference numbers indicate identical or functionally similar elements. Additionally, the left-most digit of a reference number identifies the drawing in which the reference number first appears.

FIG. 1 is a block diagram illustrating the architecture of a lithography system, in an embodiment of the present invention, showing connectivity among the various components.

FIG. 2 is a flowchart depicting an embodiment of the operation and control flow of a lithography system of the present invention.

FIG. 3A is a graph illustrating a continuous, three-segment trajectory subject to no constraints, in an embodiment of the present invention.

FIG. 3B is a graph illustrating a continuous, three-segment trajectory subject to velocity and acceleration constraints, in an embodiment of the present invention.

FIG. 4 is a flowchart depicting an embodiment of the operation and control flow of the trajectory calculation process of the present invention.

FIG. 5 is a graph illustrating an alternative, continuous, three-segment trajectory subject to velocity and acceleration constraints, in an embodiment of the present invention.

FIG. 6 is a block diagram illustrating the system architecture of an embodiment of a computer system and computer program product, showing connectivity among the various components, that may be used to implement the present invention.

FIG. 7 is a collection of graphic surfaces representing the values of multi-dimensional variables.

DETAILED DESCRIPTION OF THE INVENTION Table of Contents

I. Overview

A. Definitions

B. General Considerations

II. Lithography System Architecture

III. Trajectory Planning

A. Optimal Trajectories

B. Trajectory Calculation

1. Calculation of a Continuous Trajectory

2. Quantization

3. Special Cases

IV. Computer System

V. Conclusion

DETAILED DESCRIPTION OF THE INVENTION

I. Overview

The present invention relates to a lithography system and method for calculating an optimal discrete time trajectory. The present invention allows for a more efficient and timely production of semiconductors.

A. Definitions

The following definitions are provided for illustrative purposes only. Alternative definitions for the listed terms will be apparent to the persons skilled in the relevant art(s) based on the discussion contained herein, and fall within the scope and spirit of embodiments of the invention.

The term “trajectory” or “profile” refers to a path that is traveled by a projectile or a movable device.

The term “quantum” refers to one unit of measurement. With reference to a trajectory, a quantum is one time increment. A time increment is also referred to as a “quantization interval.”

The term “quantize” refers to the conversion of a continuous function or curve into a discrete function or curve. In the present invention, a continuous curve is quantized, or converted, to a discrete curve in accordance with the sampling rate of the command and control system of a lithography system.

B. General Considerations

The present invention is described in terms of the examples contained herein. This is for convenience only and is not intended to limit the application of the present invention. In fact, after reading the following description, it will be apparent to one skilled in the relevant art(s) how to implement the following invention in alternative embodiments.

II. Lithography System Architecture

FIG. 1 shows a block diagram illustrating the architecture of a lithography system 100, in an embodiment of the present invention, showing connectivity among the various components. System 100 includes a trajectory planner 102, a control system 104 and a movable device 106. Movable device 106 can be any device that can be moved during the scanning process in a lithography tool, such as a reticle stage or a wafer stage. Trajectory planner 102 designs trajectories in accordance with user-specified requirements. This design process results in the generation of commands that define a trajectory for a movable device in a lithography tool. Trajectory planner 102 is implemented as a computer program product that is executed by a double precision computer. However, trajectory planner 102 can also be implemented in hardware and/or firmware. Trajectory planner 102 designs these trajectories in an off-line process. Thus, in the case of a lithography system, commands can be generated prior to commencement of substrate stage or reticle stage scanning operations. Control system 102 is responsible for implementing the trajectories designed by trajectory planner 102. Control system 102 can be any lithography control system that is known to one of ordinary skill in the art.

FIG. 2 shows a flowchart depicting an embodiment of the operation and control flow 200 of a lithography system of the present invention. FIG. 2 shows how a trajectory is calculated and implemented in a lithography system, such as system 100. Control flow 200 begins at step 202, with control passing immediately to step 204.

In step 204, trajectory planner 102 calculates the intended trajectory of movable device 106. The method by which trajectory planner 102 calculates the intended trajectory is described in greater detail below.

In step 206, control system 104 implements the trajectory calculated in step 204 above.

In step 208, movable device 106 travels the trajectory calculated in step 204 and implemented by control system 104 in step 206.

In step 210, flow 500 ceases.

III. Trajectory Planning

A. Optimal Trajectories

FIG. 3A shows a graph 300 illustrating a continuous two-phase trajectory. Graph 300 is a velocity versus time graph showing the optimal trajectory for an object moving from a first position to a second position, along one axis. There are no velocity or acceleration constraints shown in graph 300 other than the fact that acceleration is finite.

Graph 300 shows an object beginning at time x₀ at a first position and velocity. At time x₀, the object is at zero acceleration. Then, the object accelerates at maximum acceleration up to time x₁. At time x₁, the first segment of the trajectory ends and the second segment of the trajectory begins. Then, the object decelerates at minimum acceleration (the negative of the previous, maximum acceleration) until the object is located at the desired second position and velocity at time x₂. At time x₂, the object is at zero acceleration.

It should be noted that, if the initial velocity at x₀ is the same as the desired velocity at x₂, then x₁ is substantially at the midpoint between times x₀ and x₂ and at the midpoint between the first position and the second position. This is because 1) the absolute value of the maximum acceleration of the first segment is identical to the absolute value of the deceleration of the second segment and 2) the starting condition (at rest) is the same as the end condition. Thus, the trajectory is symmetrical.

FIG. 3B shows a graph 350 illustrating a continuous, three-segment trajectory. Graph 350 is a velocity versus time graph showing the optimal trajectory for an object moving from a first position to a second position, along one axis, subject to constraints. The trajectory of graph 350 is subject to velocity and acceleration constraints. That is, the trajectory of graph 350 has a maximum velocity and a maximum acceleration.

Graph 350 shows an object beginning at time x₀ at the first position and velocity. At time x₀, the object is at zero acceleration. Then, the object accelerates at the maximum acceleration until the maximum velocity is reached at time x₁. At time x₁, the first segment of the trajectory ends and the second segment of the trajectory begins. Then, the object travels at the maximum velocity and zero acceleration until time x₂. At time x₂, the second segment of the trajectory ends and the third segment of the trajectory begins. Then, the object decelerates at the negative maximum acceleration (the negative of the previous, maximum acceleration) until the object reaches the desired second position and velocity at time X₃. At time X₃, the object is at zero acceleration.

It should noted that the first segment of the trajectory is substantially congruent to the third segment of the trajectory. This is because 1) the absolute value of the acceleration of the first segment is identical to the absolute value of the deceleration of the third segment and 2) the starting condition is the same as the end condition. Thus, the trajectory is symmetrical.

B. Trajectory Calculation

FIG. 4 shows a flowchart depicting an embodiment of the operation and control flow 400 of the trajectory calculation process of the present invention. FIG. 4 shows how a trajectory is calculated by a trajectory planner, such as trajectory planner 102, in a lithography system, such as system 100. Flow 400 describes in greater detail how a trajectory is planned, as show in step 202 of FIG. 2. Control flow 400 begins at step 402, with control passing immediately to step 404.

In step 404, trajectory planner 102 calculates a continuous, three segment trajectory subject to velocity and acceleration constraints. A continuous, three segment trajectory subject to velocity and acceleration constraints is described in greater detail above (see FIG. 3B). The calculation of a continuous, three segment trajectory subject to velocity and acceleration constraints is described in greater detail below.

In step 406, the trajectory calculated in step 404 above is quantized. Quantization of a continuous function or curve is described in greater detail below.

In step 408, flow 400 ceases.

1. Calculation of a Continuous Trajectory

This section describes in greater detail the calculation of a continuous, three segment trajectory subject to velocity and acceleration constraints, as performed by trajectory planner 102 in step 404 above (see FIG. 4).

FIG. 5 shows a graph 500 illustrating a continuous, three-segment trajectory, similar to graph 350. Graph 500 is a velocity versus time graph showing the optimal trajectory for an object moving from a first position to a second position, subject to constraints. The trajectory of graph 500 is subject to velocity and acceleration constraints. A continuous, three-segment trajectory subject to constraints is described in greater detail above in FIG. 3B. In FIG. 5:

v₁ is the initial velocity of the object

v₂ is the second velocity of the object

v₃ is the third velocity of the object

v₄ is the fourth or end velocity of the object

t₁ is the duration of the first segment of the trajectory

t₂ is the duration of the second segment of the trajectory

t₃ is the duration of the third segment of the trajectory

Also associated with FIG. 5 (but not shown):

s₀ is the initial position of the object (associated with the beginning of the first segment of the trajectory)

s₁ is the second position of the object (associated with the beginning of the second segment of the trajectory)

s₂ is the third position of the object (associated with the beginning of the third segment of the trajectory)

s₃ is the fourth position of the object (associated with the end of the third segment of the trajectory)

a₁ is the first acceleration of the object (associated with the first segment of the trajectory)

a₂ is the second acceleration of the object (associated with the second segment of the trajectory

a₃ is the third acceleration of the object (associated with the third segment of the trajectory

v_(max) is the maximum velocity allowed for the object, i.e., a velocity constraint

a_(max) is the maximum acceleration allowed for the object, i.e., an acceleration constraint

d is the total desired displacement of the object, i.e., d=s₁+s₂+s₃

Because FIG. 5 represents an “optimal” continuous trajectory, we assume that:

a₂=0

v₂=v₃

a₁=a_(max)

a₃=−a_(max)

As a result of the velocity and acceleration constraints, we see that:

v₁ is less than or equal to the maximum velocity, i.e. |v₁|<v_(max)

a₁ is less than or equal to the maximum acceleration, i.e. |a₁|<a_(max)

In light of the above, we see that: $\begin{matrix} \left. \begin{matrix} {v_{2} = {{a_{1}t_{1}} + v_{1}}} \\ {v_{3} = {{a_{2}t_{2}} + v_{2}}} \\ {v_{4} = {{a_{3}t_{3}} + v_{3}}} \end{matrix} \right\} & (1) \\ \left. \begin{matrix} {s_{1} = {{\frac{1}{2}a_{1}t_{1}^{2}} + {v_{1}t_{1}}}} \\ {s_{2} = {{\frac{1}{2}a_{2}t_{2}^{2}} + {v_{2}t_{2}}}} \\ {s_{3} = {{\frac{1}{2}a_{3}t_{3}^{2}} + {v_{3}t_{3}}}} \end{matrix} \right\} & (2) \end{matrix}$

If we combine equations (1) and (2), then: $\begin{matrix} {t_{1} = {- \frac{v_{1} - {{1/2}\sqrt{{2v_{4}^{2}} + {2v_{1}^{2}} + {4{da}_{\max}}}}}{a_{\max}}}} & \text{(3a)} \end{matrix}$

Or, if t₁ is negative: $\begin{matrix} {t_{1} = {- \frac{v_{1} + {{1/2}\sqrt{{2v_{4}^{2}} + {2v_{1}^{2}} + {4{da}_{\max}}}}}{a_{\max}}}} & \text{(3b)} \end{matrix}$

Similarly, for t₃: $\begin{matrix} {t_{3} = \frac{{- v_{4}} + {{1/2}\sqrt{{2v_{4}^{2}} + {2v_{1}^{2}} + {4{da}_{\max}}}}}{a_{\max}}} & \text{(4a)} \\ {t_{3} = \frac{{- v_{4}} - {{1/2}\sqrt{{2v_{4}^{2}} + {2v_{1}^{2}} + {4{da}_{\max}}}}}{a_{\max}}} & \text{(4b)} \end{matrix}$

Thus, the “optimal” v₂ velocity can be calculated as:

v _(2optimal) =v ₁ +a ₁ t ₁  (5)

If the absolute value of v_(2optimal) is greater than the absolute value of maximum velocity v_(max), then, in order to meet the velocity constraint, let: $\begin{matrix} \left. \begin{matrix} {\quad {v_{2} = v_{\max}}} \\ {\quad {t_{1} = \frac{v_{\max} - v_{1}}{a_{1}}}} \\ {t_{3} = {- \frac{v_{4} - v_{\max}}{a_{\max}}}} \\ {v_{3} = v_{\max}} \\ {t_{2} = {\frac{1}{2}\frac{\left( {{{- 2}v_{\max}^{2}} + v_{1}^{2} + v_{4}^{2} + {2{da}_{\max}}} \right)}{v_{\max}a_{\max}}}} \end{matrix} \right\} & (6) \end{matrix}$

where v_(max) in this case has the appropriate sign. That is, if the three-segment trajectory involves an initial negative acceleration, then v_(max) must be negative. Further, if the three-segment trajectory involves an initial positive acceleration, then v_(max) must be positive.

If the absolute value of v_(2optimal) is not greater than the maximum velocity v_(max), then t₁ is given by equations (3a) or (3b) and t₃ is given by equations (4a) or (4b). As a result, t₂=0 and v₂ is given by equation (5).

The following conditions should be noted. First, equations (6) define the ideal trajectories for a velocity and acceleration constrained problem. Second, notice that the closer v₁ and v₄ are to v_(max), the smaller t₁ and t₃ become. Third, note that both t₁ and/or t₃ exist, both are positive and both are real if the element in the square root of equations (3a)/(3b) and (4a)/(4b) adheres to the following inequalities: $\begin{matrix} \begin{matrix} {\quad {\left( {v_{1}^{2} + v_{4}^{2}} \right) > {2{da}_{\max}}}} \\ {\quad {a_{\max} > 0}} \end{matrix} & (7) \end{matrix}$

It should be noted that if a_(max)<0, usually equations (3b) and (4b) are used to obtain the proper result. Lastly, t₃ and t₂ may be negligible if:

v₄≅v₁+t₁a_(max) $d \cong s_{1} \cong {{\frac{1}{2}a_{a\quad \max}t_{1}^{2}} + {v_{1}t_{1}}}$

Furthermore, t, and t₃ might be negligible if:

v₁≅v₂≅v₃≅v₄

So far, the velocity and acceleration constraints have been easily met by the choice of a₁ and a₃ and equations (5) and (6). At this point, however, t₁, t₂ and t₃ are real numbers, not necessarily integer multiples of a quantization interval. The following section deals with an additional constraint—the quantization of t₁, t₂ and t₃.

2. Quantization.

This section describes in greater detail the quantization of the continuous, three-segment trajectory defined above, as performed by trajectory planner 102 in step 406 above (see FIG. 4).

In this section, a new constraint is added to the continuous, three-segment trajectory defined above:

t₁ is an integer multiple of a quantization interval T, i.e.,

t₁=k*T (i=1, 2, 3).

In order to meet this constraint, t₁, t₂ and t₃ must be quantized, i.e., converted to an integer multiple of the quantization interval T without violating the maximum velocity and acceleration constraints.

Assume that instead of using t₁ to t₃ calculated in the previous section, a set of times t_(1calc) to t_(3calc) are chosen as follows: $\begin{matrix} {{{{{if}\quad \left( {t_{1} \geq {T\quad {and}\quad t_{2}} > {T\quad {and}\quad t_{3}} \geq T} \right)},{{{{then}\quad {{let}:\text{}\quad t_{1{calc}}}} = t_{1}};}}\quad {{t_{2{calc}} = t_{2}};}\quad {{t_{3{calc}} = t_{3}};}{if}\quad \left( {t_{1} \geq {T\quad {and}\quad t_{3}} \geq {T\quad {and}\quad t_{2}} < T} \right)},{{{{{then}\quad {{let}:\quad t_{1{calc}}}} = {t_{1} + \left( {t_{2}/2} \right)}};}\quad {{t_{2{calc}} = 0};}\quad {{t_{3{calc}} = {t_{3} + \left( {t_{2}/2} \right)}};}\text{}{{{if}\quad \left( {t_{3} \geq {T\quad {and}\quad t_{1}} < {T\quad {and}\quad t_{2}} \geq T} \right)},{{{{then}\quad {{let}:\quad t_{1{calc}}}} = {t_{1} + t_{2}}};}}\text{}\quad {{t_{2{calc}} = 0};}\quad {{t_{3{calc}} = t_{3}};}{{{if}\quad \left( {t_{1} \geq {T\quad {and}\quad t_{3}} < {T\quad {and}\quad t_{2}} \geq T} \right)},{{{then}\quad {{let}:\quad t_{1{calc}}}} = {t_{1}.}}}}} & \text{(8a)} \end{matrix}$

Notice that the following two cases are not covered:

(t₃≧T and t₁<T and t₂<T)

(t₁≧T and t₃<T and t₂<T)

Both of these cases indicate that applying a single acceleration (or deceleration) of the maximum magnitude “almost” covers the total desired displacement d, and that the remaining required adjustments in position and/or velocity are smaller than the ones that can be performed during a multiple of the quantization interval T. The most straightforward way to deal with these cases is to accelerate or decelerate in order to meet the target velocity; then generate a new set of trajectories in order to compensate for the displacement error. The reason for doing this will become obvious in the following.

For the cases described in equations (8a), the new accelerations a_(1calc) and a_(3calc) can be calculated from a modified version of (1) and (2): $\begin{matrix} \left. \begin{matrix} {v_{2{calc}} = {{a_{1{calc}}t_{1{calc}}} + v_{1}}} \\ {v_{3{calc}} = {{a_{2}t_{2{calc}}} + v_{2{calc}}}} \\ {v_{4} = {{a_{3{calc}}t_{3{calc}}} + v_{3{calc}}}} \end{matrix} \right\} & \text{(8b)} \\ \left. \begin{matrix} {s_{1{calc}} = {{\frac{1}{2}a_{1{calc}}t_{1{calc}}^{2}} + {v_{1}t_{1{calc}}}}} \\ {s_{2{calc}} = {{\frac{1}{2}a_{2}t_{2{calc}}^{2}} + {v_{2{calc}}t_{2{calc}}}}} \\ {s_{3{calc}} = {{\frac{1}{2}a_{3{calc}}t_{3{calc}}^{2}} + {v_{3{calc}}t_{3{calc}}}}} \end{matrix} \right\} & \text{(8c)} \end{matrix}$

Note that:

d=s₁+s₂+s₃=s_(1calc)+s_(2calc)+s_(3calc)

Then, we solve for a_(1calc) and a_(3calc): $\begin{matrix} {{a_{1{calc}} = \frac{\left( {{{- 2}v_{1}t_{1{calc}}} - {2t_{2{calc}}v_{1}} - {t_{3{calc}}v_{1}} - {t_{3{calc}}v_{4}} + {2d}} \right)}{t_{1{calc}}\left( {t_{1{calc}} + {2t_{2{calc}}} + t_{3{calc}}} \right)}}{a_{3{calc}} = \frac{\left( {{v_{1}t_{1{calc}}} + {2t_{3{calc}}v_{4}} - {2d} + {v_{4}t_{1{calc}}} + {2v_{4}t_{2{calc}}}} \right)}{\left( {t_{1{calc}} + {2t_{2{calc}}} + t_{3{calc}}} \right)t_{3{calc}}}}} & \text{(8d)} \end{matrix}$

Now let t_(1q), t_(2q), and t_(3q), be the quantized counterpart of t_(1calc), t_(2calc) and t_(3calc), i.e.:

t _(iq) =n ₁ *T; i=1,2,3; n=0,1,2, . . .   (9)

Notice that t_(iq) can also be represented in terms of t_(icalc) as:

t _(iq) =t _(icalc) +dt _(i) T; i=1, 2, 3; (0<dt_(i) <1)  (10)

Where

dt _(i) =t _(iq) −t _(icalc) =n _(i) *T−t _(icalc)  (11)

Also notice that if t_(i) is rounded towards infinity, then $\begin{matrix} {{{ceil}(x)} = \left\{ \begin{matrix} {\quad x} & {{only}\quad {if}\quad x\quad {is}\quad {an}\quad {integer}} \\ {\quad y} & {else} \end{matrix} \right.} & (12) \end{matrix}$

where y is equal to truncating the decimal part of x+1.

Then (10) can be expressed as: $\begin{matrix} {{{t_{iq} = {t_{1{calc}} + {{dt}_{i}\quad T}}};\quad {i = 1}},2,3} & \text{(13a)} \\ {t_{icalc} = {K_{i}T\quad \left( {{K_{i} = 0},1,2,\ldots}\quad \right)}} & \text{(13b)} \\ {{{t_{1q} = {\left( {K_{i} + {dt}_{I}} \right)\quad T}};\quad {i = 1}},2,3} & \text{(13c)} \end{matrix}$

Where K_(i) and d_(i) are identically equal to zero only if t_(icalc) is equal to zero.

Notice from equations (8a), (9), (10), (11) and (13) that:

t _(1q) +t _(2q) +t _(3q) <t _(1calc) +t _(2calc) +t _(3calc)+3T<t ₁ +t ₂ +t ₃+3T  (14)

Thus, equation (14) shows that the quantized execution time of the trajectory (t_(1q)+t_(2q)+t_(3q)) is at most three quanta (3T) longer than the execution time described by the continuous, optimal solution (t₁+t₂+t₃).

Given equation (14), the goal of quantization is to recalculate a₁ and a₃ as to still satisfy the velocity and acceleration constraints. Let the values of these new accelerations be a_(1q) and a_(3q), respectively. Then, equations (1) and (2) can be re written as: $\begin{matrix} \left. \begin{matrix} {v_{2q} = {{a_{1q}t_{1q}} + v_{1}}} \\ {v_{3q} = {{a_{2}t_{2q}} + v_{2q}}} \\ {v_{4} = {{a_{3q}t_{3q}} + v_{3q}}} \end{matrix} \right\} & (13) \\ \left. \begin{matrix} {s_{1q} = {{\frac{1}{2}a_{1q}t_{1q}^{2}} + {v_{1}t_{1q}}}} \\ {s_{2q} = {{\frac{1}{2}a_{2}t_{2q}^{2}} + {v_{2q}t_{2q}}}} \\ {s_{3q} = {{\frac{1}{2}a_{3q}t_{3q}^{2}} + {v_{3q}t_{3q}}}} \end{matrix} \right\} & (14) \end{matrix}$

(Note that a_(iq) are not quantized.)

Note that a₂=0 in equations (8a), (8b), (13) and (14). Then, we solve equations (8b), (8c), (13) and (14) for a_(1q) and a_(3q). Note that v_(2q)=v_(2calc) in order to guarantee the velocity constraint, and that s_(1q)+s_(2q)+s_(3q)=s_(1calc)+s_(2calc)+s_(3calc)=s₁+s₂+s₃=d. Then, (8d) is substituted for a_(1calc) and a_(3calc). Subsequently: $\begin{matrix} \begin{matrix} {a_{1q} = \quad {- \frac{{t_{3q}v_{4}} - {2d} + {\left( {t_{3q} + {2t_{1q}} + {2t_{2q}}} \right)v_{1}}}{t_{1q}\left( {t_{3q} + t_{1q} + {2t_{2q}}} \right)}}} \\ {a_{3q} = \quad \frac{\quad {{\left( {{2t_{3q}} + t_{1q} + {2t_{2q}}} \right)v_{4}} + {v_{1}t_{1q}} - {2d}}}{t_{3q}\left( {t_{3q} + t_{1q} + {2t_{2q}}} \right)}} \end{matrix} & (15) \end{matrix}$

Equations (15), are easy to implement but do not shed any light on the relation between the quantization interval and the magnitude of a_(1q) and a_(3q).

In an alternative approach, we solve (8b), (8c) and (14) for a_(1q) and a_(3q). Note that v_(2q)=v_(2calc), in order to guarantee the velocity constraint, and that s_(1q)+s_(2q)+s_(3q)=s_(1calc)+s_(2calc)+s_(3calc)=s₁+s₂+s₃=d. However, (8d) is not substituted for a_(1calc) and a_(3calc). Subsequently: $a_{1q} = {- \frac{\begin{matrix} {{t_{3q}a_{1{calc}}t_{1{calc}}} + {t_{3q}t_{3{calc}}a_{3{calc}}} - {a_{1{calc}}t_{1{calc}}^{2}} - {2v_{1}t_{1{calc}}} -} \\ {{2t_{2{calc}}a_{1{calc}}t_{1{calc}}} - {2t_{2{calc}}v_{1}} - {a_{3{calc}}t_{3{calc}}^{2}} -} \\ {{2t_{3{calc}}a_{1{calc}}t_{1{calc}}} - {2t_{3{calc}}v_{1}} + {2v_{1}t_{1q}} + {2t_{2q}v_{1}} + {2t_{3q}v_{1}}} \end{matrix}}{t_{1q}\left( {t_{3q} + t_{1q} + {2t_{2q}}} \right)}}$ $a_{3q} = \frac{\begin{matrix} {{2t_{3q}a_{1{calc}}t_{1{calc}}} + {2t_{3q}t_{3{calc}}a_{3{calc}}} - {a_{1{calc}}t_{1{calc}}^{2}} - {2v_{1}t_{1{calc}}} -} \\ {{2t_{2{calc}}a_{1{calc}}t_{1{calc}}} - {2t_{2{calc}}v_{1}} - {a_{3{calc}}t_{3{calc}}^{2}} - {2t_{3{calc}}a_{1{calc}}t_{1{calc}}} -} \\ {{2t_{3{calc}}v_{1}} + {2v_{1}t_{1q}} + {2t_{2q}v_{1}} + {2t_{3q}v_{1}} + {a_{1{calc}}t_{1{calc}}t_{1q}} +} \\ {{2a_{1{calc}}t_{1{calc}}t_{2q}} + {t_{3{calc}}a_{3{calc}}t_{1q}} + {2t_{3{calc}}a_{3{calc}}t_{2q}}} \end{matrix}}{\left( {t_{3q} + t_{1q} + {2t_{2q}}} \right)t_{3q}}$

Clearly these equations are too complicated as to shed any light on the behavior of a_(1q) an a_(3q) as a function of the calculated times, however they can be simplified to: $\begin{matrix} {{a_{1q} = {- \frac{{A_{1}a_{1{calc}}} + {B_{1}a_{3{calc}}} + {C_{1}v_{1}}}{t_{1q}\left( {t_{3q} + t_{1q} + {2t_{2q}}} \right)}}}{a_{3q} = \frac{{A_{3}a_{1{calc}}} + {B_{3}a_{3{calc}}} + {C_{3}v_{1}}}{t_{3q}\left( {t_{3q} + t_{1q} + {2t_{2q}}} \right)}}} & (16) \end{matrix}$

FIG. 7 shows a collection of graphic surfaces representing the values of variables A₁, B₁ and C₁ versus varying values of t₁ and t₃, as described in equations (16).

3. Special Cases

Equations (15), (16) and (8d) show the effect of small displacements, i.e., cases where (t₃≧T and t₁<T and t₂<T) or (t₁≧T and t₃<T and t₂<T). Considering equations (16), if t_(1calc) varies from 0.001T to 0.9999T, and t_(3calc) varies from T to 4T, then B₃ is, in general, greater than or equal to the value of the denominator (see FIG. 7). However, the value of A₃ will be subtracted from the value of the denominator due to the fact that the sign of a_(1calc) is opposite to the sign of a_(3calc). Thus, no real conclusion can be achieved. In contrast, the values of B and A, will add up, in most cases, to a value greater than the denominator.

Assuming that the magnitude of a_(3calc) is “close” to the maximum value allowed (this will typically be the case), then a_(1q) will be greater than the maximum allowed acceleration. As seen by the behavior of C₁, if v₁ is not zero, it can reduce or increase the value of the quantized acceleration.

A similar analysis of the case when t_(3calc) varies from 0.001T to 0.9999T and t_(1calc) varies from T to 4T shows that a_(3q) that will be greater than the maximum value allowed, as shown in FIG. 7. From the previous analysis, it is clear that the algorithm is well behaved for all values when at least two time intervals are greater than the quantization interval.

In short, if the desired displacement and the initial and/or final velocity violate the three-segment routine constraints, a four-segment trajectory is used instead. The new trajectory will accelerate or decelerate at maximum acceleration until the appropriate velocity is zero. The trajectory then includes a three-segment trajectory to compensate for the remaining displacement.

Another special case occurs when the maximum velocity constraint is violated by a small amount due to quantization, i.e., when t_(1q) is slightly larger than one quantization interval, and v₁ is close to v_(max). In order to avoid the throughput impact of generating a four-segment trajectory in this case, the three-segment routine is re-evaluated while setting v_(max) to a percentage of its value.

IV. Computer System

The functions performed by trajectory planner 102, which is capable of calculating trajectories as shown in control flow 400, are preferably implemented in software. Alternatively, the same may be implemented using hardware or a combination of hardware and software.

In an embodiment of the present invention, trajectory planner 102 comprises a computer system which may be connected to a network. An example of such a computer system 600 is shown in FIG. 6. The computer system 600 represents any single or multi-processor computer. Single-threaded and multi-threaded computers can be used. Unified or distributed memory systems can be used.

The computer system 600 includes one or more processors, such as processor 604. One or more processors 604 can execute software implementing the operations described in flow 400. Each processor 604 is connected to a communication bus 602 (e.g., cross-bar or network). Various software embodiments are described in terms of this exemplary computer system. After reading this description, it will become apparent to a person skilled in the relevant art how to implement the invention using other computer systems and/or computer architectures.

Computer system 600 also includes a main memory 606, preferably random access memory (RAM), and can also include a secondary memory 608. The secondary memory 608 can include, for example, a hard disk drive 610 and/or a removable storage drive 612, representing a floppy disk drive, a magnetic tape drive, an optical disk drive, etc. The removable storage drive 612 reads from and/or writes to a removable storage unit 614 in a well known manner. Removable storage unit 614 represents a floppy disk, magnetic tape, optical disk, etc., which is read by and written to by removable storage drive 612. As will be appreciated, the removable storage unit 614 includes a computer usable storage medium having stored therein computer software and/or data.

In alternative embodiments, secondary memory 608 can include other means for allowing computer programs or other instructions to be loaded into computer system 600. Such means can include, for example, a removable storage unit 622 and an interface 620. Examples can include a program cartridge and cartridge interface (such as that found in video game devices), a removable memory chip (such as an EPROM, or PROM) and associated socket, and other removable storage units 622 and interfaces 620 which allow software and data to be transferred from the removable storage unit 622 to computer system 600.

Computer system 600 can also include a communications interface 624. Communications interface 624 allows software and data to be transferred between computer system 600 and external devices via communications path 626. Examples of communications interface 620 can include a modem, a network interface (such as Ethernet card), a communications port, etc. Software and data transferred via communications interface 624 are in the form of signals which can be electronic, electromagnetic, optical or other signals capable of being received by communications interface 624, via communications path 626. Note that communications interface 624 provides a means by which computer system 600 can interface to a network such as the Internet.

The present invention can be implemented using software running (that is, executing) in an environment similar to that described above with respect to FIG. 6. In this document, the term “computer program product” is used to generally refer to removable storage unit 614, a hard disk installed in hard disk drive 610, or a carrier wave carrying software over a communication path 626 (wireless link or cable) to communication interface 624. A computer useable medium can include magnetic media, optical media, or other recordable media, or media that transmits a carrier wave. These computer program products are means for providing software to computer system 600.

Computer programs (also called computer control logic) are stored in main memory 606 and/or secondary memory 608. Computer programs can also be received via communications interface 624. Such computer programs, when executed, enable the computer system 600 to perform the features of the present invention as discussed herein. In particular, the computer programs, when executed, enable the processor 604 to perform the features of the present invention. Accordingly, such computer programs represent controllers of the computer system 600.

In an embodiment where the invention is implemented using software, the software can be stored in a computer program product and loaded into computer system 600 using removable storage drive 612, hard drive 610, or communications interface 624. Alternatively, the computer program product can be downloaded to computer system 600 over communications path 624. The control logic (software), when executed by the one or more processors 604, causes the processor(s) 604 to perform the functions of the invention as described herein.

In another embodiment, the invention is implemented primarily in firmware and/or hardware using, for example, hardware components such as application specific integrated circuits (ASICs). Implementation of a hardware state machine so as to perform the functions described herein will be apparent to persons skilled in the relevant art(s).

V. Conclusion

While various embodiments of the present invention have been described above, it should be understood that they have been presented by way of example, and not limitation. It will be apparent to persons skilled in the relevant art(s) that various changes in form and detail can be made therein without departing from the spirit and scope of the invention. Thus the present invention should not be limited by any of the above-described exemplary embodiments, but should be defined only in accordance with the following claims and their equivalents. 

What is claimed is:
 1. A method to calculate, for a lithography tool, an optimized discrete time trajectory for a movable device, the trajectory having a maximum velocity, comprising the steps of: calculating a continuous time, three-segment trajectory for the movable device, including a first phase for acceleration to the maximum velocity, a second phase for travel at the maximum velocity and a third phase for deceleration to a final velocity; and converting said continuous time, three-segment trajectory to a discrete time trajectory, wherein the time of execution of the resulting trajectory of step (b) is at most three quanta greater than the time of execution of said continuous time, three-segment trajectory.
 2. The method of claim 1, wherein the movable device is any one of: a reticle stage; a wafer stage; and a framing blade.
 3. The method of claim 2, wherein said optimized discrete time trajectory further comprises a maximum acceleration.
 4. A method to calculate, for a lithography tool, an optimized discrete time trajectory for a movable device, the trajectory having a maximum velocity and a maximum acceleration, comprising the steps of: calculating a continuous time, three-segment trajectory for the movable device, including a first phase for acceleration at the maximum acceleration to the maximum velocity, a second phase for travel at the maximum velocity and a third phase for deceleration at the negative maximum acceleration to a final velocity; and converting said continuous time, three-segment trajectory to a discrete time trajectory, wherein the time of execution of the resulting trajectory of step (b) is at most three quanta greater than the time of execution of said continuous time, three-segment trajectory.
 5. The method of claim 4, wherein the movable device is any one of: a reticle stage; a wafer stage; and a framing blade.
 6. The method of claim 5, wherein said continuous time, three-segment trajectory is represented by the equations v₂ = a₁t₁ + v₁ v₃ = a₂t₂ + v₂ v₄ = a₃t₃ + v₃ $s_{1} = {{\frac{1}{2}a_{1}t_{1}^{2}} + {v_{1}t_{1}}}$ $s_{2} = {{\frac{1}{2}a_{2}t_{2}^{2}} + {v_{2}t_{2}}}$ $s_{3} = {{\frac{1}{2}a_{3}t_{3}^{2}} + {v_{3}t_{3}}}$

wherein v₁ is an initial velocity of the movable device; v₂ is a second velocity of the movable device; v₃ is a third velocity of the movable device; v₄ is the final velocity of the movable device; t₁ is the duration of the first phase of the continuous time, three-segment trajectory; t₂ is the duration of the second phase of the continuous time, three-segment trajectory; t₃ is the duration of the third phase of the continuous time, three-segment trajectory; s₁ is a second position of the movable device, associated with the beginning of the second phase of the continuous time, three-segment trajectory; s₂ is a third position of the movable device, associated with the beginning of the third phase of the continuous time, three-segment trajectory; s₃ is a fourth position of the movable device, associated with the end of the third phase of the continuous time, three-segment trajectory; a₁ is a first acceleration of the movable device, associated with the first phase of the continuous time, three-segment trajectory; a₂ is a second acceleration of the movable device, associated with the second phase of the continuous time, three-segment trajectory; a₃ is a third acceleration of the movable device, associated with the third phase of the continuous time, three-segment trajectory; a₂=0; v₂=v₃; a₁= the maximum acceleration=a_(max); and a₃=−a_(max).
 7. The method of claim 5, wherein said optimized discrete time trajectory is represented by the equations $\begin{matrix} {v_{2q} = {{a_{1q}t_{1q}} + v_{1}}} \\ {v_{3q} = {{a_{2}t_{2q}} + v_{2q}}} \\ {v_{4} = {{a_{3q}t_{3q}} + v_{3q}}} \\ {s_{1q} = {{\frac{1}{2}a_{1q}t_{1q}^{2}} + {v_{1}t_{1q}}}} \\ {s_{2q} = {{\frac{1}{2}a_{2}t_{2q}^{2}} + {v_{2q}t_{2q}}}} \\ {s_{3q} = {{\frac{1}{2}a_{3q}t_{3q}^{2}} + {v_{3q}t_{3q}}}} \\ {a_{1q} = {- \quad \frac{{t_{3q}v_{4}} - {2d} + {\left( {{t_{3q}2t_{1q}} + {2t_{2q}}} \right)v_{1}}}{t_{1q}\left( {t_{3q} + t_{1q} + {2t_{2q}}} \right)}}} \\ {a_{3q} = \frac{{\left( {{2t_{3q}} + t_{1q} + {2t_{2q}}} \right)v_{4}} + {v_{1}t_{1q}} - {2d}}{t_{3q}\left( {t_{3q} + t_{1q} + {2t_{2q}}} \right)}} \end{matrix}$

wherein t_(1q), t_(2q), and t_(3q) are quantized versions of t₁, t₂, and t₃ respectively, where t₁ is the duration of the first phase of the continuous time, three-segment trajectory; t₂ is the duration of the second phase of the continuous time, three-segment trajectory; and t₃ is the duration of the third phase of the continuous time, three-segment trajectory; s_(1q), s_(2q), and s_(3q) are quantized versions of s₁, s₂, and s₃ respectively, where s₁ is a second position of the movable device, associated with the beginning of the second phase of the continuous time, three-segment trajectory; s₂ is a third position of the movable device, associated with the beginning of the third phase of the continuous time, three-segment trajectory; s₃ is a fourth position of the movable device, associated with the end of the third phase of the continuous time, three-segment trajectory; v₁ is an initial velocity of the movable device; v_(2q) and v₃ are quantized versions of v₂, and v₃, respectively, where v₂, is a second velocity of the movable device and v₃ is a third velocity of the movable device; v₄ is the final velocity of the movable device; a_(1q) is a quantized version of a₁ is a first acceleration of the movable device, associated with the first phase of the continuous time, three-segment trajectory; a₂ is a second acceleration of the movable device, associated with the second phase of the continuous time, three-segment trajectory; a₃ is a quantized version of a₃, where a₁ is a first acceleration of the movable device, associated with the first phase of the continuous time, three-segment trajectory; and d=s₁+s₂+s₃.
 8. A computer program product comprising a computer useable medium having control logic stored therein for causing a computer to calculate for a lithography tool an optimized discrete time trajectory for a movable device, the trajectory having a maximum velocity, the computer control logic comprising: first computer readable program code means for causing the computer to calculate a continuous time, three-segment trajectory for the movable device, including a first phase for acceleration to the maximum velocity, a second phase for travel at the maximum velocity and a third phase for deceleration to a final velocity; and second computer readable program code means for causing the computer to convert said continuous time, three-segment trajectory to a discrete time trajectory, wherein the time of execution of the resulting trajectory of said second computer readable program code means is at most three quanta greater than the time of execution of said continuous time, three-segment trajectory.
 9. The computer program product of claim 8, wherein the movable device is any one of: a reticle stage; a wafer stage; and a framing blade.
 10. The computer program product of claim 9, wherein said optimized discrete time trajectory further comprises a maximum acceleration.
 11. A computer program product comprising a computer useable medium having control logic stored therein for causing a computer to calculate for a lithography tool an optimized discrete time trajectory for a movable device, the trajectory having a maximum velocity and a maximum acceleration, the computer control logic comprising: first computer readable program code means for causing the computer to calculate a continuous time, three-segment trajectory for the movable device, including a first phase for acceleration at the maximum acceleration to the maximum velocity, a second phase for travel at the maximum velocity and a third phase for deceleration at the negative maximum acceleration to a final velocity; and second computer readable program code means for causing the computer to convert said continuous time, three-segment trajectory to a discrete time trajectory, wherein the time of execution of the resulting trajectory of said second computer readable program code means is at most three quanta greater than the time of execution of said continuous time, three-segment trajectory.
 12. The computer program product of claim 11, wherein the movable device is any one of: a reticle stage; a wafer stage; and a framing blade.
 13. The computer program product of claim 12, wherein said continuous time, three-segment trajectory is represented by the equations v₂ = a₁t₁ + v₁ v₃ = a₂t₂ + v₂ v₄ = a₃t₃ + v₃ $s_{1} = {{\frac{1}{2}a_{1}t_{1}^{2}} + {v_{1}t_{1}}}$ $s_{2} = {{\frac{1}{2}a_{2}t_{2}^{2}} + {v_{2}t_{2}}}$ $s_{3} = {{\frac{1}{2}a_{3}t_{3}^{2}} + {v_{3}t_{3}}}$

v₁ is an initial velocity of the movable device; v₂ is a second velocity of the movable device; v₃ is a third velocity of the movable device; v₄ is the final velocity of the movable device; t₁ is the duration of the first phase of the continuous time, three-segment trajectory; t₂ is the duration of the second phase of the continuous time, three-segment trajectory; t₃ is the duration of the third phase of the continuous time, three-segment trajectory; s₁ is a second position of the movable device, associated with the beginning of the second phase of the continuous time, three-segment trajectory; s₂ is a third position of the movable device, associated with the beginning of the third phase of the continuous time, three-segment trajectory; s₃ is a fourth position of the movable device, associated with the end of the third phase of the continuous time, three-segment trajectory; a₁ is a first acceleration of the movable device, associated with the first phase of the continuous time, three-segment trajectory; a₂ is a second acceleration of the movable device, associated with the second phase of the continuous time, three-segment trajectory; a₃ is a third acceleration of the movable device, associated with the third phase of the continuous time, three-segment trajectory; a₂=0; v₂=v₃; a₁= the maximum acceleration =a_(max); and a₃=−a_(max).
 14. The computer program product of claim 13, wherein said optimized discrete time trajectory is represented by the equations $\begin{matrix} {v_{2q} = {{a_{1q}t_{1q}} + v_{1}}} \\ {v_{3q} = {{a_{2}t_{2q}} + v_{2q}}} \\ {v_{4} = {{a_{3q}t_{3q}} + v_{3q}}} \\ {s_{1q} = {{\frac{1}{2}a_{1q}t_{1q}^{2}} + {v_{1}t_{1q}}}} \\ {s_{2q} = {{\frac{1}{2}a_{2}t_{2q}^{2}} + {v_{2q}t_{2q}}}} \\ {s_{3q} = {{\frac{1}{2}a_{3q}t_{3q}^{2}} + {v_{3q}t_{3q}}}} \\ {a_{1q} = {- \quad \frac{{t_{3q}v_{4}} - {2d} + {\left( {{t_{3q}2t_{1q}} + {2t_{2q}}} \right)v_{1}}}{t_{1q}\left( {t_{3q} + t_{1q} + {2t_{2q}}} \right)}}} \\ {a_{3q} = \frac{{\left( {{2t_{3q}} + t_{1q} + {2t_{2q}}} \right)v_{4}} + {v_{1}t_{1q}} - {2d}}{t_{3q}\left( {t_{3q} + t_{1q} + {2t_{2q}}} \right)}} \end{matrix}$

wherein t_(1q), t_(2q), and t_(3q)are quantized versions of t₁, t₂, and t₃ respectively, where t₁ is the duration of the first phase of the continuous time, three-segment trajectory; t₂ is the duration of the second phase of the continuous time, three-segment trajectory; and t₃ is the duration of the third phase of the continuous time, three-segment trajectory; s_(1q), s_(2q), and s_(3q) are quantized versions of s₁, s₂, and s₃ respectively, where s₁ is a second position of the movable device, associated with the beginning of the second phase of the continuous time, three-segment trajectory; s₂ is a third position of the movable device, associated with the beginning of the third phase of the continuous time, three-segment trajectory; s₃ is a fourth position of the movable device, associated with the end of the third phase of the continuous time, three-segment trajectory; v₁ is an initial velocity of the movable device; v_(2q) and v₃ are quantized versions of v₂, and v₃, respectively, where v₂, is a second velocity of the movable device and v₃ is a third velocity of the movable device; v₄ is the final velocity of the movable device; a_(1q) is a quantized version of a₁ is a first acceleration of the movable device, associated with the first phase of the continuous time, three-segment trajectory; a₂ is a second acceleration of the movable device, associated with the second phase of the continuous time, three-segment trajectory; a₃ is a quantized version of a₃, where a₁ is a first acceleration of the movable device, associated with the first phase of the continuous time, three-segment trajectory; and d=s₁+s₂+s₃.
 15. A computer system for calculating an optimized discrete time trajectory for a movable device in a lithography tool, the trajectory having a maximum velocity and a maximum acceleration, comprising: a movable device for traveling a trajectory; a control system for controlling said movable device; and a trajectory planner for: calculating a continuous time, three-segment trajectory for the movable device, including a first phase for acceleration at the maximum acceleration to the maximum velocity, a second phase for travel at the maximum velocity and a third phase for deceleration at the negative maximum acceleration to a final velocity; and converting said continuous time, three-segment trajectory to a discrete time trajectory, wherein the time of execution of the resulting trajectory of said converting step is at most three quanta greater than the time of execution of said continuous time, three-segment trajectory.
 16. The computer system of claim 15, wherein the movable device is any one of: a reticle stage; a wafer stage; and a framing blade. 